package network;

@SuppressWarnings("serial")
public class BadRequestLengthException extends Exception {

	private static final String BAD_REQUEST_LENGTH = "Bad request length";
	private String m_message;

	public void setMessage(String message) {
		this.m_message = message;
	}

	public BadRequestLengthException() {
		super();
		setMessage(BAD_REQUEST_LENGTH);
	}

	public BadRequestLengthException(String message) {
		super(message);
		setMessage(message);
	}
}

